package com.mhys.mapper;

import com.mhys.model.THospital;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface THospitalMapper {
	int deleteByPrimaryKey(Integer hid);

	int insert(THospital record);

	THospital selectByPrimaryKey(Integer hid);

	List<THospital> selectAll();

	int updateByPrimaryKey(THospital record);

	THospital selectHDeptsByHName(@Param("hName") String hName);

	List<THospital> selectByAreaAndGrade(@Param("area") String area, @Param("grade") String grade);
}